package FourWeek;

public class DiGui1 {
    public static void main(String[] args) {
        System.out.println("第五个人年龄是"+age(5));
    }
    public static int age(int n){
        int res;
        if (n==1){
            res=10;
        }else{
            res=age(n-1)+2;
        }
        return res;//回归
    }
}
